Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct footer/header and hyperref/bookmark for unnumbered chapters #75

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gasse
Copy link

@gasse gasse commented Oct 17, 2016

There is an issue with unnumbered chapters with more than one page: the footer/header of the previous chapter is repeated.

This can be fixed by using \addchap* instead of \chapter* (e.g. for abstract), and \addchap instead of \chapter* + \pdfbookmark[0] + \addcontentsline{toc}{chapter} (e.g. for unnumbered Introduction chapter).

Also, cleanthesis.sty must be fixed to prevent footnotes such as "Chapter 0 Introduction"

Typically:
\addchap*{Abstract} % no footer/header, no TOC
\addchap{Introduction} % footer/header and TOC

@johannesbottcher
Copy link

Since cleanthesis is based on KOMA-script, \ifnumbered would be the way to go.

But with a development branch and very confusing header and footer definitions in both branches, i won't dig any deeper.

@TinyRbrt
Copy link

TinyRbrt commented Jun 1, 2017

You can also just use
\chapter*{Chapter Name}\markboth{Chapter Name}{}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants